.project-detail {
    padding: 15px;
    height: 100%;
    box-sizing: border-box;
}

.file-content {
    overflow-y: auto;
    height: 100%;
}

.project-detail h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.detail-section {
    margin-bottom: 15px;
}

.detail-section h3 {
    color: #34495e;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.step-detail {
    background: #f9f9f9;
    padding: 10px;
    margin: 5px 0;
    border-radius: 4px;
}

.step-content {
    color: #34495e;
    line-height: 1.4;
}

.step-time {
    color: #3498db;
    font-size: 14px;
    margin-top: 4px;
}

.steps-list, 
.materials-list, 
.methods-list {
    overflow: visible;
}

.time-estimation {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.time-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.time-value {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 120px;
    justify-content: center;
}

.time-input input {
    width: 60px;
    text-align: center;
    padding: 5px;
    font-size: 16px;
}

.time-input button {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    background: #f5f5f5;
    cursor: pointer;
    border-radius: 4px;
}

.time-input button:hover {
    background: #e0e0e0;
}

.time-input label {
    width: 20px;
    text-align: center;
}

.next-btn, .back-btn, .complete-btn {
    padding: 8px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    height: 32px;
    line-height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.process-editor .buttons-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;  /* 确保按钮垂直对齐 */
    margin-top: 20px;
}

.progress-container {
    display: flex;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
    background: #e0e0e0;
}

.progress-segment {
    height: 100%;
    border-right: 2px solid #fff;
    position: relative;
}

.progress-segment:last-child {
    border-right: none;
}

.progress-bar {
    height: 100%;
    background: #4CAF50;
    width: 0;
    transition: width 0.5s;
}

.execution-controls {
    margin-top: 10px;  /* 减小上边距 */
    width: 100%;
    padding: 0 10px;  /* 减小内边距 */
    box-sizing: border-box;
}

.control-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;  /* 减小行间距 */
    width: 100%;
}

/* 第一行按钮基础样式 */
.control1-btn {
    height: 50px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 第二行按钮基础样式 */
.control2-btn {
    height: 50px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 取消按钮样式 */
.control1-btn.cancel-btn {
    width: 30%;
    background-color: #f0f0f0;
    color: #666;
}

/* 完成此步按钮样式 */
.control1-btn.complete-btn {
    width: 48%;
    background-color: #4CAF50;
    color: white;
}

/* 暂停按钮样式 */
.control2-btn.pause-btn {
    width: 30%;
    background-color: #2196F3;
    color: white;
}

/* 记录心得按钮样式 */
.control2-btn.thought-btn {
    width: 48%;
    background-color: #4CAF50;
    color: white;
}

/* 按钮悬停效果 */
.control1-btn:hover,
.control2-btn:hover {
    opacity: 0.9;
}

.threshold-warning {
    color: #e74c3c;
    padding: 10px;
    margin-top: 20px;
    background: #fde8e7;
    border-radius: 4px;
}

.execute-btn {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

.execute-btn:hover {
    background: #27ae60;
}

.operator-toggle {
    padding: 4px 8px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 8px;
    min-width: 40px;
    font-size: 14px;
}

.operator-toggle:hover {
    background: #e0e0e0;
}

.threshold-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.threshold-item input[type="number"] {
    width: 80px;
    padding: 4px;
    margin: 0 8px;
}

.step-number {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.step-description {
    color: #34495e;
    line-height: 1.4;
}

.execution-view {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.time-display {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    font-size: 14px;
    color: #666;
}

.progress-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #333;
}

.time-info {
    color: #666;
    font-size: 12px;
}

.progress-track {
    height: 20px;
    background: #1a4b8c;  /* 深蓝色背景 */
    border-radius: 4px;
    position: relative;
    overflow: visible;  /* 允许溢出 */
}

.progress-bar {
    height: 100%;
    background: #3498db;  /* 浅蓝色进度 */
    width: 0;
    transition: width 0.5s;
    border-radius: 4px;
}

.progress-bar-overflow {
    height: 100%;
    background: #e74c3c;  /* 红色溢出部分 */
    width: 0;
    position: absolute;
    left: 100%;
    top: 0;
    transition: width 0.5s;
}

.progress-bar.current {
    background: #3498db;  /* 当前步骤的颜色 */
}

.execution-view {
    padding: 20px;
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
}

.thought-form {
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f5f5f5;
}

.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    min-height: 100px;
    box-sizing: border-box;
}

.form-group.status-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.radio-group {
    display: inline-flex;
    align-items: center;
    margin-left: 20px;  /* 增加与标签的间距 */
}

.radio-group label {
    display: flex;
    align-items: center;
    white-space: nowrap;  /* 防止文本换行 */
    margin-right: 30px;   /* 增加选项之间的间距 */
    font-weight: normal;
}

.radio-group label:last-child {
    margin-right: 0;  /* 最后一个选项不需要右边距 */
}

.radio-group input[type="radio"] {
    margin-right: 5px;  /* 单选按钮和文本之间的间距 */
}

.success-message {
    padding: 15px;
    background: #d4edda;
    color: #155724;
    border-radius: 4px;
    text-align: center;
    margin-top: 20px;
}

.ability-section {
    margin-top: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.ability-toggle {
    margin-bottom: 10px;
}

.ability-content {
    margin-top: 10px;
}

.ability-selector {
    margin-bottom: 10px;
}

.ability-selector select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.ability-changes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ability-change-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ability-name {
    color: #e91e63;  /* 粉色 */
    min-width: 100px;
}

.ability-change-item input {
    width: 80px;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #e91e63;  /* 粉色 */
}

.ability-change-item button {
    padding: 4px 8px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
}

.ability-change-item .remove-btn {
    color: #e74c3c;
}

.abilities-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.ability-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 4px;
}

.ability-name {
    color: #e91e63;  /* 粉色 */
    font-weight: bold;
    min-width: 100px;
}

.ability-change {
    color: #666;
}

.ability-value {
    color: #e91e63;  /* 粉色 */
    font-weight: bold;
}

/* 步骤描述中的能力文本样式 */
.ability-text {
    color: #e91e63;  /* 粉色 */
    font-weight: bold;
}

/* 心得表单按钮组样式 */
.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
    width: 100%;
}

/* 心得表单按钮基础样式 */
.cancel-thought-btn,
.save-thought-btn {
    height: 50px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 取消按钮样式 */
.cancel-thought-btn {
    width: 30%;
    background-color: #f0f0f0;
    color: #666;
}

/* 保存心得按钮样式 */
.save-thought-btn {
    width: 48%;
    background-color: #4CAF50;
    color: white;
}

/* 按钮悬停效果 */
.cancel-thought-btn:hover,
.save-thought-btn:hover {
    opacity: 0.9;
}

/* 属性表单按钮组样式 */
.attribute-form .button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    width: 100%;
    padding: 0 10px;
}

/* 属性表单按钮基础样式 */
.attribute-form .return-btn,
.attribute-form .save-btn {
    height: 50px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attribute-form .return-btn {
    background-color: #f0f0f0;
    color: #666;
}

.attribute-form .save-btn {
    background-color: #4CAF50;
    color: white;
}

/* 禁用状态样式 */
.attribute-form .save-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
}

/* 按钮悬停效果 */
.attribute-form .return-btn:hover:not(:disabled),
.attribute-form .save-btn:hover:not(:disabled) {
    opacity: 0.9;
}

/* 执行统计样式 */
.execution-stats {
    margin: 10px 0 20px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats-header {
    color: #666;
    margin-bottom: 5px;
}

.stats-value {
    color: #2196F3;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

/* 方法列表样式 */
.method-list {
    margin-bottom: 10px;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.method-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.add-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 15px;
}

.add-btn:hover {
    background: #45a049;
}

.remove-btn {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: #ff4444;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding: 0;
}

.remove-btn:hover {
    background: #cc0000;
} 